home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
fly8111-.000
/
fly8111-
/
fly8
/
DJGPP
/
makedj.sha
< prev
next >
Wrap
Text File
|
1979-12-31
|
1KB
|
68 lines
# makefile
#
# This is part of the flight simulator 'fly8'.
# Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
#
#
# makefile for shapes, msdos djgpp
#
CPP= $(CC)
CFLAGS= -I.. -O0 -E
AWK= awk
DEL= rm
COPY= cp
REN= mv
SHAPES= runway.vxx m61.vxx mk82.vxx gtarget.vxx target.vxx viewer.vxx \
classic.vxx crater.vxx house.vxx smoke.vxx tower.vxx broken.vxx \
box.vxx chute.vxx wf15.vxx wf16.vxx wf18.vxx
ACM= runway.avx tower.avx f16.avx
ACMF= f16.fvx
.SUFFIXES: .vxx .vx .avx .fvx .acm
.vx.vxx:
-$(COPY) $*.vx $*.c
$(CPP) $(CFLAGS) $*.c >$*.i
-$(DEL) $*.c
$(AWK) -f f8shape.awk $*
-$(DEL) $*.i
-$(DEL) $*.003
.acm.avx:
$(AWK) -f acm2avx.awk $*
$(CPP) $(CFLAGS) $*.c >avx.i
-$(DEL) $*.c
$(AWK) -f f8shape.awk avx
-$(DEL) avx.i
-$(DEL) avx.003
-$(COPY) avx.vxx $*.avx
-$(DEL) avx.vxx
.acm.fvx:
$(AWK) -f acm2fvx.awk $*
$(CPP) $(CFLAGS) $*.c >fvx.i
-$(DEL) $*.c
$(AWK) -f f8shape.awk fvx
-$(DEL) fvx.i
-$(DEL) fvx.003
-$(COPY) fvx.vxx $*.fvx
-$(DEL) fvx.vxx
all: shapes
shapes: $(SHAPES) $(ACM) $(ACMF)
clean:
-$(DEL) *.vxx
-$(DEL) *.fvx
-$(DEL) *.avx
-$(DEL) *.i
-$(DEL) *.c
-$(DEL) *.00?